package com.yupi.yuoj.model.dto.contest;

import lombok.Data;

import java.io.Serializable;

/**
 * 竞赛注册请求
 */
@Data
public class ContestRegistrationRequest implements Serializable {
    
    /**
     * 竞赛 id
     */
    private Long contestId;

    /**
     * 竞赛密码（如果是密码保护类型）
     */
    private String password;

    private static final long serialVersionUID = 1L;

    /**
     * 手动添加getter和setter方法以解决编译问题
     */
    public Long getContestId() {
        return contestId;
    }

    public void setContestId(Long contestId) {
        this.contestId = contestId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}